package com.hibase.core.rule.constant;

/**
 * 规则类型
 */
public enum RuleType {

    RULE_TYPE_MENU("MENU", "菜单"),
    RULE_TYPE_SOURCE("SOURCE", "数据源"),
    RULE_TYPE_RULE("RULE", "规则"),
    RULE_TYPE_OPEN_CLOSE("RULE_TYPE_OPEN_CLOSE", "左开右合"),
    RULE_TYPE_CLOSE_OPEN("RULE_TYPE_CLOSE_OPEN", "左开右合");

    private String value;
    private String name;

    RuleType(String name, String value){

        this.name = name;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
